const mongoose = require("mongoose");

/**
 * 专辑 实体类
 * @type {mongoose.Schema}
 */
const albumSchema = new mongoose.Schema({
	//_id: mongoose.Schema.ObjectId,//主键
	name: String,//专辑名称
	author : String,//作者
	type : String, //专辑类型
	publishTime : Date,//发布时间
	introduce : String//介绍
});

module.exports = mongoose.model("album", albumSchema);